package tushu.Bean;

/**
 * @author linnanxiang
 *	图书类
 */
public class BookBean {
	private int id;
	private String bookName;
	private int number;
	private String address;
	private int rentCiShu;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	
	
	public int getRentCiShu() {
		return rentCiShu;
	}
	public void setRentCiShu(int rentCiShu) {
		this.rentCiShu = rentCiShu;
	}
	@Override
	public String toString() {
		return "图书id"+" = "+id+" 图书名"+" = "+bookName+
				" 图书数量"+" = "+number+" 图书位置"+" = "+address
				+" 借出次数"+" = "+rentCiShu;
	}
	
	
	
}
